<template>
  <div class="vote-box">
    <div class="serviceHeader">
      <div class="breadcrumbs">
        <div class="container">
          <a href="/">首页</a> <span class="sep">/</span> <span>法庭列表</span>
        </div>
      </div>
      <div class="container">
        <div class="content">
          <div class="service-box service-main-box">
            <div class="service-content-box">
              <div class="box-hd">
                <h1 class="title">法庭列表</h1>
              </div>

              <div class="box-bd">
                <div class="service-step-box">
                  <div class="service-section">
                    <div class="section-bd">
                      <!-- 陈词-->
                      <div class="et-hero-tabs-container">
                        <router-link class="et-hero-tab" active-class="tabs_active"
                                     to="/tribunal/TribunalTab/allTribunal">法庭广场
                        </router-link>
                        <router-link class="et-hero-tab" active-class="tabs_active"
                                     :to="{
                          path:'/tribunal/TribunalTab/myTribunal',
                          query:{
                            username:userid
                          }
                                     }">我的
                        </router-link>
                      </div>
                      <div>
                        <router-view></router-view>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="breadcrumbs">
        <div class="container">
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "TribunalTab",
  data() {
    return {
      userid:''
    }
  },
  created() {
    this.userid = sessionStorage.getItem('username')
  }
}
</script>

<style>
.el-table .warning-row {
  background: oldlace;
}

.el-table .success-row {
  background: #f0f9eb;
}

/*tabs*/
.et-hero-tabs-container {
  /*border: 1px solid #c5c5c5;*/
  border-bottom: 1px solid #c5c5c5;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 70px;
  background: #fff;
  z-index: 10;
}

.et-hero-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  color: #000;
  letter-spacing: 0.1rem;
  transition: all 0.5s ease;
  font-size: 16px;
}

.et-hero-tab:hover {
  border-bottom: 4px solid #FF6600;
  /*color: white;*/
  /*background: #FF6600;*/
  transition: all 0.1s ease;
}

.tabs_active {
  border-bottom: 4px solid #FF6600;
}

.et-hero-tab-slider {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 6px;
  background: #66B1F1;
  transition: left 0.3s ease;
}

/*tabs*/
.vote-box {
  margin: 0 auto;
}

.serviceHeader {
  background: #f5f5f5;
}

.breadcrumbs, .breadcrumbs a {
  color: #757575;
}

.breadcrumbs {
  height: 40px;
  font-size: 12px;
  line-height: 40px;
  background: #f5f5f5;
}

.container {
  width: 1226px;
  margin-right: auto;
  margin-left: auto;
}

.content {
  width: 100%;
}

.service-main-box {
  padding: 36px 0;
}

.service-box {
  background: #fff;
}

.service-content-box {
  margin: 0 120px;
}

.title {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  line-height: 68px;
  color: #b0b0b0;
}

.service-content-box .service-section .section-hd {
  height: 50px;
  padding: 0 32px;
  margin-bottom: 28px;
  border-left: 2px solid #ff6700;
  background-color: #eee;
  color: #333;
}

.service-content-box .service-section .section-title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 50px;
}

.service-content-box .service-section .section-bd {
  margin-bottom: 28px;
}

.service-content-box .product-detail {
  position: relative;
  height: 70px;
  padding: 35px 124px 35px 135px;
  border: 1px solid #e0e0e0;
  border-left: 2px solid #b0b0b0;
  font-size: medium;
}

.service-content-box .product-detail .detail-list, .service-content-box .product-detail .detail-list dd {
  margin: 0;
}

.service-content-box .product-detail .back {
  position: absolute;
  right: 40px;
  top: 60px;
  font-size: 12px;
  color: #ff6700;
}

.service-content-box .product-detail .thumb {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100px;
  height: 100px;
}

.service-content-box .service-section .section-hd {
  height: 50px;
  padding: 0 32px;
  margin-bottom: 28px;
  border-left: 2px solid #ff6700;
  background-color: #eee;
  color: #333;
}

.service-content-box .service-section .section-title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 50px;
}

.service-content-box .service-label-list {
  width: 902px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: hidden;
  _zoom: 1;
}

ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
}

.service-content-box .service-label-list-large li {
  width: 284px;
  height: 76px;
  margin-right: 15px;
}

.service-content-box .service-label-list .active {
  border-color: #83c44e;
  color: #83c44e;
  cursor: default;
}

.service-content-box .service-label-list li {
  float: left;
  _display: inline;
  width: 160px;
  height: 40px;
  margin: 0 20px 20px 0;
}

/*router-link*/
.service-content-box .service-label-list-large a {
  width: 282px;
  height: 74px;
  font-size: 18px;
  line-height: 74px;
}

/*router-link*/
.service-content-box .service-label-list a {
  display: block;
  width: 158px;
  height: 38px;
  border: 1px solid #b0b0b0;
  font-size: 14px;
  line-height: 38px;
  text-align: center;
  color: #757575;
  cursor: pointer;
}
</style>
